<%@ Page Language="c#" MasterPageFile="~/SQLWebQuery.master" Title="SQL Web Query"
    Inherits="SqlWebAdmin.EditStoredProcedure" CodeFile="EditStoredProcedure.aspx.cs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table cellspacing="0" cellpadding="0" border="0" width="100%">
        <tr>
            <!--BEGIN ONE LINE-->
            <td valign="bottom" colspan="2" height="8" width="100%">
                <img src="images/spacer.gif" width="1" height="8" alt="" border="0"></td>
            <!--END ONE LINE-->
        </tr>
        <tr>
            <!--BEGIN ONE LINE-->
            <td align="left" width="12">
                <img src="images/spacer.gif" width="12" height="1" alt="" border="0"></td>
            <!--END ONE LINE-->
            <td align="left" class="databaseListItem" width="100%">
                <!-- PAGE CONTENT: START -->
                <!-- SECTION HEADER: START -->
                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                    <tr>
                        <td class="databaseListHeader">
                            EDIT STORED PROCEDURE
                        </td>
                    </tr>
                    <!-- SECTION HEADER: END -->
                    <!-- SECTION: START -->
                    <tr>
                        <!--BEGIN ONE LINE-->
                        <td height="3" valign="center" background="images/blue_dotted_line.gif">
                            <img src="images/blue_dotted_line.gif" width="150" height="3" alt="" border="0"></td>
                        <!--END ONE LINE-->
                    </tr>
                    <tr>
                        <!--BEGIN ONE LINE-->
                        <td height="4" valign="center">
                            <img src="images/spacer.gif" width="1" height="4" alt="" border="0"></td>
                        <!--END ONE LINE-->
                    </tr>
                    <tr>
                        <td bgcolor="white" class="databaseListItem">
                            <table cellpadding="0" cellspacing="0" border="0">
                                <tr>
                                    <td class="databaseListItem">
                                        Name:</td>
                                    <td width="25">
                                        &nbsp;</td>
                                    <td class="databaseListItem">
                                        <asp:Label ID="SProcNameLabel" runat="server"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td class="databaseListItem">
                                        Owner:</td>
                                    <td width="25">
                                        &nbsp;</td>
                                    <td class="databaseListItem">
                                        <asp:Label ID="SProcOwnerLabel" runat="server"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td class="databaseListItem">
                                        Create date:</td>
                                    <td width="25">
                                        &nbsp;</td>
                                    <td class="databaseListItem">
                                        <asp:Label ID="SProcCreateDateLabel" runat="server"></asp:Label></td>
                                </tr>
                            </table>
                            <br>
                            <table cellspacing="0" cellpadding="0" border="0">
                                <tr>
                                    <td class="databaseListItem">
                                        <asp:TextBox runat="server" TextMode="MultiLine" Columns="60" Rows="15" ID="SProcTextTextbox"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="databaseListItem">
                                        <br>
                                        <asp:Button runat="server" Text=" Save " CssClass="button" onMouseOver="this.style.color='#808080';"
                                            onMouseOut="this.style.color='#000000';" ID="SaveButton" OnClick="SaveButton_Click">
                                        </asp:Button>
                                        &nbsp;
                                        <asp:Button ID="CancelButton" runat="server" CssClass="button" onMouseOver="this.style.color='#808080';"
                                            onMouseOut="this.style.color='#000000';" Text="Cancel" OnClick="CancelButton_Click">
                                        </asp:Button>
                                    </td>
                                </tr>
                            </table>
                            <br>
                            <asp:Label ID="ErrorLabel" runat="server" Visible="False" ForeColor="red"></asp:Label>
                        </td>
                    </tr>
                    <!-- Section END -->
                    <!-- Section Footer START -->
                </table>
                <br>
                <!-- Section Footer END -->
                <!-- Page content END -->
            </td>
        </tr>
    </table>
</asp:Content>
